package com.ruoyi.factory.qylock.service;

import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.util.Map;

/**
 * @ClassName QysHandleService
 * @Description: TODO 契约锁业务处理类
 * @Author LiuJiaji
 * @Date 2023/6/6 0006 17:32
 **/
public interface QysHandleService {
    /**
     * @author: Liujiaji
     * @date: 2023/6/6 0006 17:34
     * @description: TODO 回调处理
     * @param: [prejson]
     * @return: com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult upStatus(Map<String, String> request);

    void getEsignFileDown(HttpServletResponse response, String pathstr) throws FileNotFoundException;

    AjaxResult eSignByTemplate(String pathstr);

    Map<String,String> getqysfileconfig2(String printTemplateID);

    AjaxResult normalTemplateInfo(String param);

    AjaxResult signByFileqys(String param);

    AjaxResult querySignPageUrl(String request);
}
